﻿using System;
using DeepZoomPivotConstructor.ErrorAndLoggingInterfaces;

namespace PivotPhysicsPlotsGenerator
{
    class ConsoleLogger : IErrorLogger
    {
        #region IErrorLogger Members

        public void LogMessage(string ID, string message)
        {
            Console.WriteLine("{0} - {1}", ID, message);
        }

        public void LogMessage(string ID, string message, Exception e)
        {
            Console.WriteLine("{0} - {1}: {2} - {3}", ID, message, e.Message, e.StackTrace);
        }

        public void SetLogfileLocation(System.IO.DirectoryInfo newDirectory)
        {
            throw new NotImplementedException();
        }

        #endregion
    }
}
